package com.bauer.java.spring.classpathapp;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author ：rui.wei
 * @Date ：Created in 15:10 2018/6/22
 * @Description：
 */
public class ClasspathApp {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        HelloAop helloAop = (HelloAop) context.getBean("helloAop");
        helloAop.sayHello();
    }
}
